Skip to content

feat: read-only remote mounts (SharePoint / Google Drive), port of #17 to v1.11.0 - #21

Merged
TomasPalsson merged 2 commits into
aproorg/v1.11.0from
feat/remote-mounts-v1.11
Dec 2, 2026
Merged

TomasPalsson merged 2 commits into
aproorg/v1.11.0from
feat/remote-mounts-v1.11

Conversation

@TomasPalsson

@TomasPalsson TomasPalsson commented Dec 2, 2026 •

Copy link
Copy Markdown

Why

The release train ships code-interpreter from aproorg/v1.11.0. #17 (read-only remote mounts) is only on apro-deploy, so a train run would remove the Drive/SharePoint folders from vitinn's sandbox. This ports #17 onto v1.11.0.

What was ported

Tests

  • api (bun 1.4.4): remote-mounts, remote-mounts-hook, remote-mounts-job, api/v2-remote-mounts and execution-manifest-request: 101 pass, 0 fail (5 files). The three core files re-run on this branch: 77 pass, 0 fail.
  • service: payload, service/remote-mounts, egress-grant, execution-manifest, runtime-session/input-delivery, sandbox-backend/lambda-microvm: 155 pass, 0 fail (6 files).
  • Typecheck: tsc --noEmit -p service reports 8 errors both with feat: read-only remote mounts (SharePoint / Google Drive) for caller-supplied folders #17 and on the v1.11.0 baseline. The lists are identical except that the egress-grant.ts TS2352 moved from line 443 to 448. The api package has no typecheck script.
  • Known timing flake, also present in feat: read-only remote mounts (SharePoint / Google Drive) for caller-supplied folders #17: api/src/remote-mounts.test.ts:848 ("the walk cap is one budget across all trees") creates 24,000 directories under bun's default 5s timeout. It failed once under nice and passed on reruns. It is a test-speed timeout, not a code defect.

Security review: PASS (high confidence)

Callers that never send remote_mounts (LibreChat) see no change.

🤖 Generated with Claude Code

Jail policy check

remote_mounts adds read-write bind mounts for the mount trees (and a read-only hook dir) through renderJobConfigOverlay (extraBinds in api/src/nsjail.ts). Only the per-job bind overlay changed; no seccomp, syscall, clone or rlimit lines, and api/config/sandbox.cfg is untouched.

scripts/apro-policy-unchanged.sh c7bf37d69 c62becb run locally with bun 1.4.4: "seccomp policy identical to c7bf37d". The rendered policy still matches upstream.

Per docs/apro-libreoffice-in-jail.md ("When it breaks"), the second ref in .github/workflows/apro-soffice.yml moves from c4ba504cc to c62becb (the remote-mounts commit) in this PR.

@TomasPalsson
TomasPalsson merged commit 6430abb into aproorg/v1.11.0 Dec 2, 2026
27 checks passed
@TomasPalsson
TomasPalsson deleted the feat/remote-mounts-v1.11 branch December 2, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant